<!-- basic scripts -->

<!--[if !IE]> -->
<script src="${basePath}/static/ace/assets/js/jquery-2.1.4.min.js"></script>

<!-- <![endif]-->

<!--[if IE]>
<script src="${basePath}/static/ace/assets/js/jquery-1.11.3.min.js"></script>
<![endif]-->
<script type="text/javascript">
	if('ontouchstart' in document.documentElement) document.write("<script src='${basePath}/static/ace/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script src="${basePath}/static/ace/assets/js/bootstrap.min.js"></script>

<!-- page specific plugin scripts -->

<!--[if lte IE 8]>
  <script src="${basePath}/static/ace/assets/js/excanvas.min.js"></script>
<![endif]-->
<script src="${basePath}/static/ace/assets/js/jquery-ui.custom.min.js"></script>
<script src="${basePath}/static/ace/assets/js/jquery.ui.touch-punch.min.js"></script>
<script src="${basePath}/static/ace/assets/js/jquery.easypiechart.min.js"></script>
<script src="${basePath}/static/ace/assets/js/jquery.sparkline.index.min.js"></script>
<script src="${basePath}/static/ace/assets/js/jquery.flot.min.js"></script>
<script src="${basePath}/static/ace/assets/js/jquery.flot.pie.min.js"></script>
<script src="${basePath}/static/ace/assets/js/jquery.flot.resize.min.js"></script>

<!-- ace scripts -->
<script src="${basePath}/static/ace/assets/js/ace-elements.min.js"></script>
<script src="${basePath}/static/ace/assets/js/ace.min.js"></script>

<!-- inline scripts related to this page -->

<script type="text/javascript">
$(function(){
	var now_pathname = window.location.pathname;
	//console.log(now_pathname);
	$("#sidebar .nav-list li").each(function(){
		$(this).removeClass("active");
		var url = $(this).children("a").attr("href");
		if(url == now_pathname){
			$(this).addClass("active");
		}
	})
	
})
</script>
